//
//  PhoneMacros.h
//  Lovetome
//
//  Created by Xiemaoxiong on 16/7/6.
//  Copyright © 2016年 上海爱途蜜网络科技有限公司. All rights reserved.
//

#ifndef PhoneMacros_h
#define PhoneMacros_h

#define IS_IPHONE_4S ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )480 ) < DBL_EPSILON )
#define IS_IPHONE_5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )
#define IS_IPHONE_6 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )667 ) < DBL_EPSILON )
#define IS_IPHONE_6_PLUS ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )736 ) < DBL_EPSILON)

#endif /* PhoneMacros_h */
